package com.letoken.platform.repo.app.res.mall;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "商家列表响应", description = "")
public class MallStoreRes implements Serializable {

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("店铺编号")
    private String number;

    @ApiModelProperty("店铺名称")
    private String ecommerceName;

    @ApiModelProperty("店铺logo")
    private String ecommerceLogo;

    @ApiModelProperty("入驻保证金")
    private BigDecimal bond;

    @ApiModelProperty("商品让利值")
    @Deprecated
    private BigDecimal contributing;

    @ApiModelProperty("总收入")
    private BigDecimal totalIncome;

    @ApiModelProperty("消费发行总额")
    private BigDecimal totalConsumptionIssuance;

    @ApiModelProperty("订单总数")
    private Integer totalOrderQuantity;

    @ApiModelProperty("在售商品数量")
    private Integer numberOfItemsOnSale;

    @ApiModelProperty("入驻时间")
    private LocalDateTime createTime;

    @ApiModelProperty("退店时间 如果时间不为空就是退店，为空则未退店")
    private LocalDateTime terminationTime;

    @ApiModelProperty("退店保证金")
    private BigDecimal returnBond;


}
